<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>孕周知识</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" src="../jquery-easyui-1.3.5/jquery.min.js"></script>

<style type="text/css">
<!--
.STYLE8 {font-size: 14px; color: #400000; }
.STYLE19 {
	font-size: 16px;
	color: #804000;
	font-weight: bold;
}

body{
	background-image:url('<%=basePath%>images/background4.jpg');
	background-repeat:no-repeat;
}


.circle{
	width:100%;
	height:22%;
	text-align:left;
	background-color:#fafafa;
}



.title2{
	height:5%;
	padding-top:2%;
	text-align:center;
	font-size:16pt;
	font-family:微软雅黑;
	color:#000000;
	font-weight:normal;
}

.titlerow{
	width:16%;
	height:4%;
	padding-top:1%;
	background-color:#f7f7f7;
	text-align:center;
	float:left;
	font-size:10pt;
}

.datarow{
	width:10%;
	padding-top:1%;
	text-align:center;
	font-size:10pt;
}

.tb_hr{ 
	width:100%;
	height:1px;
	background-color:#c8c7cc;
	border:none;
	
	}
	
.inputbutton{
	margin-top:15px;
	width:130px;
	height:30px;
	background-color:#f7f7f7;
	border:none;
	align:center;
	font-size:11pt;
	font-family:微软雅黑;
	cursor:pointer;
	border-radius:4px 4px 4px 4px;
	box-shadow:0 0px 0,0 2px 3px rgba(0,0,0,0.7);
}

-->
</style>
</head>
<body>
      <jsp:include page="../baseJSP/head.jsp"></jsp:include>
      
    <div class="rightcase">
	 	<div class="title2">个人健康信息 · 历史记录</div>
	 	<hr size="3px" color="#F2DAB5">
	 	<div style="width:100%">
	 			<div class="titlerow" style="width:20%;">时间</div>
				<div class="titlerow">收缩压/mmHg</div>
				<div class="titlerow">舒张压/mmHg</div>
				<div class="titlerow">血糖/mmol/L</div>
				<div class="titlerow">尿蛋白/g/L</div>
				<div class="titlerow">体重/kg</div>
	 	</div>
		<table width="100%" border="0px" >
				
			<s:iterator id="datalist" value="userhealthdatalist" status="u">
			<tr height="30px">
				<td class="datarow">
					<s:property value="#datalist.DataUploadTime" />
				</td>
				<td class="datarow">
					  <s:property value="#datalist.systolicPressure" />
				</td>
				<td class="datarow">
					 <s:property value="#datalist.diastolicPressure" />
			    </td>
				<td class="datarow">
					<s:property value="#datalist.bloodSugar" />
				 </td>
				<td class="datarow">
					 <s:property value="#datalist.uriaProtein" />
			    </td>
			    <td class="datarow">
					 <s:property value="#datalist.weight" />
			    </td>
			</tr>
			<tr height="3px">
				 <td colspan="6" class="tb_td"><hr class="tb_hr" /></td>
			</tr>
			</s:iterator>
		</table>
		<%-- <div><a href="<%=basePath%>pregnent/HealthDataInput.jsp">填写个人健康信息</a></div> --%>
		<div style="margin:0 20px;">
			<input class="inputbutton" type="button" value="填写个人健康信息" onClick="location.href='<%=basePath%>pregnent/HealthDataInput.jsp'"
			onMouseover="this.style.backgroundColor='#007aff';this.style.color='#ffffff';" onMouseout="this.style.backgroundColor='#f7f7f7';this.style.color='#000000'"/>
			<input class="inputbutton" type="button" value="查看数据趋势图" onClick="location.href='<%=basePath%>baseJSP/healthdata/healthdatachart.jsp'"
			onMouseover="this.style.backgroundColor='#007aff';this.style.color='#ffffff';" onMouseout="this.style.backgroundColor='#f7f7f7';this.style.color='#000000'"/>
			<%-- <input class="inputbutton" type="button" value="查看数据趋势图" onClick="location.href='<%=basePath%>jfreechart/HealthdataChartAction!LineChartView?userid=${temploginbean.userId}&charttype=BloodSugar'"
			onMouseover="this.style.backgroundColor='#007aff';this.style.color='#ffffff';" onMouseout="this.style.backgroundColor='#f7f7f7';this.style.color='#000000'"/> --%>
		</div>
	</div>
	
  </div>  
    <%@ include file="../baseJSP/foot.jsp"%>
  </div>

</body>
</html>